import request from '@/utils/request'

export default {
    borrowInfoApproval(borrowInfoApprovalVO,borrowId){
        return request({
            method:'PUT',
            url: `/admin/core/borrowInfo/approval/${borrowId}`,
            data: borrowInfoApprovalVO
        })
    },
    //获取借款信息列表 带条件
    getBorrowInfoList(pageNum, pageSize, searchObj) {
        return request({
            method: 'GET',
            url: `/admin/core/borrowInfo/${pageNum}/${pageSize}`,
            params: searchObj
        })
    },
    show(id) {
        return request({
            url: `/admin/core/borrowInfo/detail/${id}`,
            method: 'get'
        })
    }
}